﻿@model VoiceModel.Transfer
           
@{
    Layout = "~/tmp/Views/_Layout.cshtml";
}

<var name="vm_id" expr="'@Model.id'" />
<var name="vm_event" expr="'continue'" />

<form id="@Model.id">
   <transfer name="T_1" bridge="@Model.bridge.ToString().ToLower()" 
                dest="@Model.destination"> 

    @{Html.RenderPartial("Prompt", Model.prompts);}
      <filled> 
        <if cond="T_1 == 'busy'"> 
            <assign name="vm_event" expr="'busy'"/> 
        <elseif cond="T_1 == 'noanswer'"/> 
            <assign name="vm_event" expr="'noanswer'"/> 
        </if> 
      </filled> 
  </transfer> 
  <block>
    <submit next="@Model.ControllerName" namelist="vm_id vm_event" />
  </block>
</form>
